﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;

namespace eCommerce.Site
{
    public partial class Default : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            
        }

        protected override void OnPreInit(EventArgs e)
        {
            base.OnPreInit(e);
            if (Session["MyTheme"] != null)
            {
                Page.Theme = "Blue";
            }

        }

        protected void Button1_Click(object sender, EventArgs e)
        {
            Session["MyTheme"] = "asd";
            Server.Transfer(Request.FilePath);
        }
    }
}
